package diploma.kisel.modelas.repository.api;

import java.util.List;

import diploma.kisel.modelas.domain.Computer;
import diploma.kisel.modelas.domain.ComputerType;

public interface ComputerRepository {
	
	public List<Computer> findAll();
	
	public List<Computer> findByPrice(int min, int max);
	
	public Computer findById(int id);
	
	public Computer save(Computer computer);
	
	public Computer update(Computer computer);
	
	public void remove(Computer computer);
	
	public List<Computer> findByType(ComputerType type);
	
	public List<Computer> findByPriceAndType(int min, int max, ComputerType type);

}
